/*
Copyright 2010  Murali Devi (profdevi@gmail.com)

This file is part of ComineGL Project.

ComineGL is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

ComineGL is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with ComineGL.  If not, see <http://www.gnu.org/licenses/>.

This code uses the irrlicht and irrklang libraries.  Please read
the libraries copyrights at 

	irrlicht library:  http://irrlicht.sourceforge.net
	irrklang library:  http://www.ambiera.com/irrklang

*/



//v0.14 copyright Comine.com 20101212U01
#ifndef ComineGLAnimation_h
#define ComineGLAnimation_h

/////////////////////////////////////////
#include "ComineGLDefines.h"

/////////////////////////////////////////
MDLLFUN bool CGLAnimationLoad(int animid,const char *filename,int rows,int cols,int deltatime,bool orderrowmajor=true);
MDLLFUN bool CGLAnimationExists(int animid);
MDLLFUN bool CGLAnimationPlay(int animid,int nodeid,bool loop=false,bool autohidenode=false);
MDLLFUN bool CGLAnimationStop(int nodeid);
MDLLFUN bool CGLAnimationColorKey(int animid,int alpha=255,int red=0,int green=0,int blue=0);
MDLLFUN bool CGLAnimationColorKeyPixel(int animid,int pixelx=1,int pixely=1);
MDLLFUN bool CGLAnimationUnload(int animid);
MDLLFUN bool CGLAnimationUnloadAll(void);
MDLLFUN int CGLAnimationGetCount(void);


#endif // ComineGLAnimation_h
